define(["lib/swipeslider.min","lib/categoryPicker","page/index/run"],function(_,_,run){
	App.myApp.onPageInit("page.index.index",function(){ 
        $('.navbar').removeClass('navbar-scroll');
	    // 底部toolbar
        // banner滚动 
		$('#banner-top').swipeslider();
		// 按专业找人才滚动
		$('#swipslider-find-person').swipeslider({
			autoPlay: !1
		});
        $('#banner-middle').swipeslider();
        // 页面滚动navbar切换
        $('.index-scroll').scroll(function () {
            if ($('.index-scroll').scrollTop() > 0) {
                $('.index-navbar-inner').addClass('index-navbar-inner-scroll');
            } else {
                $('.index-navbar-inner').removeClass('index-navbar-inner-scroll');
            }
        });
        // 选择需求类型
        var category1_2_0_span = $('.category1-2').first().find('span');
        categort2Append(category1_2_0_span);
	});
	App.myApp.onPageInit("default.index",function(){
		router("page/index/index");
	});
	return run() ;
});